#ifndef MESSAGEPARSER_H
#define MESSAGEPARSER_H

#include <QObject>
#include <QRegExp>
#include <QDebug>
#include <QStringList>
#include <QHostAddress>

/* Singleton parser class */
class MessageParser : public QObject
{
	Q_OBJECT

private:
	QRegExp *fullDatagramRegExp;
	static MessageParser *instance;
	
public:
	MessageParser();
	static MessageParser* getInstance();
	void parseString(QByteArray *input, QHostAddress address);
};
#endif
